package com.abel.quiz.dao;

import com.abel.quiz.dao.BaseDao;
import com.abel.quiz.po.QuestionPo;
import com.abel.quiz.po.QuestionPoCriteria;
import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
* @author abel.lin
* @date_time 2017-08-08 10:02
* @description
*/
public interface QuestionPoDao extends BaseDao<QuestionPo, QuestionPoCriteria>{

    int countByExample(QuestionPoCriteria example);
    
    int deleteByExample(QuestionPoCriteria example);
    
    int deleteByPrimaryKey(String id);
    
    int insert(QuestionPo record);
    
    int insertSelective(QuestionPo record);
    
    List<QuestionPo> selectByExample(QuestionPoCriteria example);

    QuestionPo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") QuestionPo record, @Param("example") QuestionPoCriteria example);

    int updateByExample(@Param("record") QuestionPo record, @Param("example") QuestionPoCriteria example);

    int updateByPrimaryKeySelective(QuestionPo record);

    int updateByPrimaryKey(QuestionPo record);
}